elpa-linum-relative software package provides display relative line number in Emacs, you can install in your Ubuntu 17.04 (Zesty Zapus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install elpa-linum-relative
elpa-linum-relative is installed in your system.
Make ensure the elpa-linum-relative package were installed using the commands given below,
$ sudo dpkg-query -l | grep elpa-linum-relative *
You will get with elpa-linum-relative package name, version, architecture and description in a table
| Distro | Ubuntu 17 04 zesty zapus |
| Section | Lisp |
| Package | elpa-linum-relative |
| Version | 0.4-1 |
| Description | display relative line number in Emacs |
| Sub Section | Lisp |